from datetime import datetime as dt


def get_curtime(sep="_"):
    """get current time, format is YearMonthDay_HourMinSec."""
    now = dt.now()
    str_now = now.strftime(f"%y%m%d{sep}%H%M%S")
    return str_now
